SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 30862: PROC MEANS output is streamed across a single row when displayed in Microsoft Excel

DetailsCodeAboutRate It

When HTML, CSV, or XLS output is created by PROC MEANS or PROC SUMMARY with the PRINT option, the table that is displayed in Microsoft Excel will contain only one row. PROC MEANS/SUMMARY creates a stacked table, which cannot be displayed correctly by Microsoft Excel.

To circumvent the problem for the HTML and CSV destinations, create an output data set using the OUTPUT statement, transpose the output data set using PROC TRANSPOSE, and use PROC PRINT or PROC REPORT to display the transposed output. The sample code on the Full Code tab illustrates this.

Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS8.2 TS2M09.4 TS1M0
OpenVMS VAX8.2 TS2M09.4 TS1M0
OS/28.2 TS2M0
Microsoft Windows 95/988.2 TS2M0
Microsoft Windows 2000 Advanced Server8.2 TS2M0
Microsoft Windows 2000 Datacenter Server8.2 TS2M0
Microsoft Windows 2000 Server8.2 TS2M0
Microsoft Windows 2000 Professional8.2 TS2M0
Microsoft Windows NT Workstation8.2 TS2M0
Microsoft Windows Server 2003 Datacenter Edition8.2 TS2M09.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition8.2 TS2M09.4 TS1M0
Microsoft Windows Server 2003 Standard Edition8.2 TS2M09.4 TS1M0
Microsoft Windows XP Professional8.2 TS2M09.4 TS1M0
Windows Millennium Edition (Me)8.2 TS2M0
64-bit Enabled AIX8.2 TS2M09.4 TS1M0
64-bit Enabled HP-UX8.2 TS2M09.4 TS1M0
64-bit Enabled Solaris8.2 TS2M09.4 TS1M0
ABI+ for Intel Architecture8.2 TS2M09.4 TS1M0
AIX8.2 TS2M09.4 TS1M0
HP-UX8.2 TS2M09.4 TS1M0
IRIX8.2 TS2M09.4 TS1M0
Linux8.2 TS2M09.4 TS1M0
OpenVMS Alpha8.2 TS2M09.4 TS1M0
Solaris8.2 TS2M09.4 TS1M0
Tru64 UNIX8.2 TS2M09.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.